package study.test.ld.queue;
//package com.fanfan.ld.queue;
//
//import com.alibaba.fastjson.JSON;
//import com.dao.sendmsg.SendMessageDao;
//import com.ld.model.sendmsg.SendMessageModel;
//
///**
// * 
// * 保存系统发送短信历史数据
// */
//public class SendMessageRunningQueue extends RecoverRunningQueue {
//    private static SendMessageDao SEND_MESSAGE_DAO = new SendMessageDao();
//
//    public SendMessageRunningQueue(String queueName) {
//        super(queueName);
//    }
//
//    public boolean put(SendMessageModel manageLogModel) {
//        String jsonStr = JSON.toJSONString(manageLogModel);
//        return super.put(jsonStr);
//    }
//
//    @Override
//    public void doing(String record) {
//        SendMessageModel manageLogModel = JSON.parseObject(record, SendMessageModel.class);
//        SEND_MESSAGE_DAO.save(manageLogModel);
//    }
//
//}
